package DAO;

import javax.persistence.EntityManager;
import javax.persistence.Persistence;
import javax.persistence.PersistenceContext;

import models.Aluno;

public class AlunoDAOBean implements AlunoDAO {

	@PersistenceContext(unitName="Idiomas")
	EntityManager em;
	
	public AlunoDAOBean(){
		
	}
	
	@Override
	public void inserirAluno(Aluno aluno) {
		em.persist(aluno);
		
	}

}
